<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp" %>
	<input type='hidden' name='redirectUrl' value='<s:property value='redirectUrl'/>' />
	
	<table width="100%" border="0" cellpadding="1" cellspacing="1">
		<tr>
			<td class="left-td-width-bg">
				<font color="red">*</font>工号：
			</td>
			<td>
				<input id="jobNumberField" name="assignUser.user.jobNumber" class="input_readOnly_98" readonly="readonly"  type="text" id="name" size="16"
					 value="<s:property value='assignUser.user.jobNumber'/>" dataType="Require"  msg="工号不能为空" />
			</td>		
			<td class="left-td-width-bg">
				<font color="red">*</font>驻店顾问：
			</td>
			<td>
<jysz:autocompleter name="assignUser.user.name" noSelectedClear="true"  cssClass="input_ajax" classType="com.jysz.certificate.persistence.model.system.User" displayFields="jobNumber,realName" fieldMapping="{'jobNumberField':'jobNumber','userIdField':'id'}" filterSql="_locked = \\'0\\' and _post = \\'1\\'">
</jysz:autocompleter>			
<input id="userIdField" type="hidden" name="assignUser.user.id" value="${assignUser.user.id}" valueType="java.lang.Long" dataType="Require|Unique"  msg="必填项|该月份经已存在相关用户。" sqlRestriction="pa_shop_month_detail_id=${monthEntity.id}" entityId="0" classType="com.jysz.certificate.persistence.model.pm.AssignUser" valProperty="user.id" contextPath="${contextPath}"/>
<!-- 				<input name="assignUser.user.name" class="input_readOnly_99" type="text" size="16" readonly="readonly" -->
<%-- 					valueField="UserIdField" valueType="java.lang.Long" dataType="Require|Unique"  msg="必填项|该月份经已存在相关用户。" sqlRestriction="pa_shop_month_detail_id=${monthEntity.id}" entityId="0" classType="com.jysz.certificate.persistence.model.pm.AssignUser" valProperty="user.id" contextPath="${contextPath}"/> --%>

			</td>
		</tr>
		<tr>
			<td class="left-td-width-bg">
				  <font color="red">*</font>发放金额：
			</td>
			<td>
				<input name="assignUser.amount" class="input" type="text" id="title" size="16"  value="<s:property value="assignUser.amount"/>" dataType="Require|Double"  msg="金额不能为空|请输入数字"  />
			</td>		
			<td class="left-td-width-bg">
				<s:if test="areaManager"><font color="red">*</font></s:if>备注：
			</td>
			<td>
				<input name="assignUser.remark" class="input" type="text" id="order" size="16"
					 value="<s:property value='assignUser.remark'/>" <s:if test="areaManager">dataType="Require"  msg="备注不能为空"</s:if> />
			</td>
		</tr>

	</table>
	 <table width="100%">
            	<tr>
                	<td><div align="center">
                	  <input type="submit" name="submit" value="" class="btn_save" />
                	&nbsp;&nbsp;
                      <input type="reset" name="reset" value="" class="btn_rest" onclick="clearForm(this.form);return false;"/>
                    </div>
                    </td>
                </tr>
     </table>        